package hcn.protocol.ods.card;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "MsgBody")
public class PersonInfoReq {
    private MedicalCardInfos MedicalCardInfos;

    @XmlElement(name = "MedicalCardInfos")
    public MedicalCardInfos getMedicalCardInfos() {
        return MedicalCardInfos;
    }

    public void setMedicalCardInfos(MedicalCardInfos medicalCardInfos) {
        MedicalCardInfos = medicalCardInfos;
    }

    @XmlRootElement(name = "MedicalCardInfos")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MedicalCardInfos {
        private String AuthorOrganization;
        private String AuthorOrganizationName;
        private String IdCardCode;
        private String IdCard;
        private String MedicalCardType;
        private String MedicalCardId;
        private String Name;
        private String Sex;
        private String BirthDate;
        private String MaritalStatus;
        private String EthnicGroup;
        private String OccupationCategoryCode;
        private String PatientPhone;
        private String WorkUnit;
        private String WorkAddrPhone;
        private String AuthorId;
        private String Author;
        private String MedicalCardSt;
        private String MedicalInsuranceCategoryCode;

        private Address Address;

        private Contact Contact;

        public String getAuthorId() {
            return AuthorId;
        }

        public void setAuthorId(String authorId) {
            AuthorId = authorId;
        }

        public String getAuthor() {
            return Author;
        }

        public void setAuthor(String author) {
            Author = author;
        }

        public String getMedicalCardSt() {
            return MedicalCardSt;
        }

        public void setMedicalCardSt(String medicalCardSt) {
            MedicalCardSt = medicalCardSt;
        }

        public String getMedicalInsuranceCategoryCode() {
            return MedicalInsuranceCategoryCode;
        }

        public void setMedicalInsuranceCategoryCode(String medicalInsuranceCategoryCode) {
            MedicalInsuranceCategoryCode = medicalInsuranceCategoryCode;
        }

        public String getAuthorOrganization() {
            return AuthorOrganization;
        }

        public void setAuthorOrganization(String authorOrganization) {
            AuthorOrganization = authorOrganization;
        }

        public String getAuthorOrganizationName() {
            return AuthorOrganizationName;
        }

        public String getMedicalCardId() {
            return MedicalCardId;
        }

        public void setMedicalCardId(String medicalCardId) {
            MedicalCardId = medicalCardId;
        }

        public void setAuthorOrganizationName(String authorOrganizationName) {
            AuthorOrganizationName = authorOrganizationName;
        }

        public String getIdCardCode() {
            return IdCardCode;
        }

        public void setIdCardCode(String idCardCode) {
            IdCardCode = idCardCode;
        }

        public String getIdCard() {
            return IdCard;
        }

        public void setIdCard(String idCard) {
            IdCard = idCard;
        }

        public String getMedicalCardType() {
            return MedicalCardType;
        }

        public void setMedicalCardType(String medicalCardType) {
            MedicalCardType = medicalCardType;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        public String getSex() {
            return Sex;
        }

        public void setSex(String sex) {
            Sex = sex;
        }

        public String getBirthDate() {
            return BirthDate;
        }

        public void setBirthDate(String birthDate) {
            BirthDate = birthDate;
        }

        public String getMaritalStatus() {
            return MaritalStatus;
        }

        public void setMaritalStatus(String maritalStatus) {
            MaritalStatus = maritalStatus;
        }

        public String getEthnicGroup() {
            return EthnicGroup;
        }

        public void setEthnicGroup(String ethnicGroup) {
            EthnicGroup = ethnicGroup;
        }

        public String getOccupationCategoryCode() {
            return OccupationCategoryCode;
        }

        public void setOccupationCategoryCode(String occupationCategoryCode) {
            OccupationCategoryCode = occupationCategoryCode;
        }

        public String getPatientPhone() {
            return PatientPhone;
        }

        public void setPatientPhone(String patientPhone) {
            PatientPhone = patientPhone;
        }

        public String getWorkUnit() {
            return WorkUnit;
        }

        public void setWorkUnit(String workUnit) {
            WorkUnit = workUnit;
        }

        public String getWorkAddrPhone() {
            return WorkAddrPhone;
        }

        public void setWorkAddrPhone(String workAddrPhone) {
            WorkAddrPhone = workAddrPhone;
        }

        public PersonInfoReq.MedicalCardInfos.Address getAddress() {
            return Address;
        }

        public void setAddress(PersonInfoReq.MedicalCardInfos.Address address) {
            Address = address;
        }

        public PersonInfoReq.MedicalCardInfos.Contact getContact() {
            return Contact;
        }

        public void setContact(PersonInfoReq.MedicalCardInfos.Contact contact) {
            Contact = contact;
        }

        @XmlRootElement(name = "Address")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Address {

            private String AddressDetail;
            private String Province;
            private String City;
            private String County;
            private String Town;
            private String Village;
            private String HouseNumber;
            private String PostalCode;

            public String getAddressDetail() {
                return AddressDetail;
            }

            public void setAddressDetail(String addressDetail) {
                AddressDetail = addressDetail;
            }

            public String getProvince() {
                return Province;
            }

            public void setProvince(String province) {
                Province = province;
            }

            public String getCity() {
                return City;
            }

            public void setCity(String city) {
                City = city;
            }

            public String getCounty() {
                return County;
            }

            public void setCounty(String county) {
                County = county;
            }

            public String getTown() {
                return Town;
            }

            public void setTown(String town) {
                Town = town;
            }

            public String getVillage() {
                return Village;
            }

            public void setVillage(String village) {
                Village = village;
            }

            public String getHouseNumber() {
                return HouseNumber;
            }

            public void setHouseNumber(String houseNumber) {
                HouseNumber = houseNumber;
            }

            public String getPostalCode() {
                return PostalCode;
            }

            public void setPostalCode(String postalCode) {
                PostalCode = postalCode;
            }
        }

        @XmlRootElement(name = "Contact")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Contact {

            private String RelationShipWithPatient;
            private String ContactPerson;
            private String ContactPersonTe;
            private String GuardianName;
            private String GuardianIdCardType;
            private String GuardianIdCardId;
            private String GuardianMobile;

            public String getRelationShipWithPatient() {
                return RelationShipWithPatient;
            }

            public void setRelationShipWithPatient(String relationShipWithPatient) {
                RelationShipWithPatient = relationShipWithPatient;
            }

            public String getContactPerson() {
                return ContactPerson;
            }

            public void setContactPerson(String contactPerson) {
                ContactPerson = contactPerson;
            }

            public String getContactPersonTe() {
                return ContactPersonTe;
            }

            public void setContactPersonTe(String contactPersonTe) {
                ContactPersonTe = contactPersonTe;
            }

            public String getGuardianName() {
                return GuardianName;
            }

            public void setGuardianName(String guardianName) {
                GuardianName = guardianName;
            }

            public String getGuardianIdCardType() {
                return GuardianIdCardType;
            }

            public void setGuardianIdCardType(String guardianIdCardType) {
                GuardianIdCardType = guardianIdCardType;
            }

            public String getGuardianIdCardId() {
                return GuardianIdCardId;
            }

            public void setGuardianIdCardId(String guardianIdCardId) {
                GuardianIdCardId = guardianIdCardId;
            }

            public String getGuardianMobile() {
                return GuardianMobile;
            }

            public void setGuardianMobile(String guardianMobile) {
                GuardianMobile = guardianMobile;
            }
        }
    }



}
